idf_component_register(SRC_DIRS "."
                    ../component/geminai_spiffs
                    ../component/geminai_sntp
                    ../component/geminai_4g_ap
                    ../component/geminai_peripheral
                    ../component/geminai_temp_ctrl
                    ../component/geminai_para
                    ../component/geminai_selfcheck
                    ../component/geminai_aliyun/Aliyun
                    ../component/geminai_aliyun/LinkSDK/core
                    ../component/geminai_aliyun/LinkSDK/core/utils
                    ../component/geminai_aliyun/LinkSDK/core/sysdep
                    ../component/geminai_aliyun/LinkSDK/components/data-model
                    ../component/geminai_aliyun/LinkSDK/components/shadow
                    ../component/geminai_aliyun/LinkSDK/components/ota
                    ../component/geminai_aliyun/LinkSDK/portfiles/aiot_port
                    ../component/geminai_aliyun/LinkSDK/external
                    ../component/geminai_audio
                    ../component/geminai_pedestrian_flow_detect
                    ../component/geminai_rs485
                    ../component/geminai_modbus
                    ../component/geminai_debug
                    ../component/geminai_oss
                    ../component/geminai_wind_func
                    INCLUDE_DIRS "." 
                    ../component/geminai_spiffs
                    ../component/geminai_sntp
                    ../component/geminai_4g_ap
                    ../component/geminai_peripheral
                    ../component/geminai_temp_ctrl
                    ../component/geminai_para
                    ../component/geminai_selfcheck
                    ../component/geminai_aliyun/Aliyun                    
                    ../component/geminai_aliyun/LinkSDK/core
                    ../component/geminai_aliyun/LinkSDK/core/sysdep
                    ../component/geminai_aliyun/LinkSDK/core/utils
                    ../component/geminai_aliyun/LinkSDK/components/data-model
                    ../component/geminai_aliyun/LinkSDK/components/shadow
                    ../component/geminai_aliyun/LinkSDK/components/ota
                    ../component/geminai_audio
                    ../component/geminai_pedestrian_flow_detect
                    ../component/geminai_rs485
                    ../component/geminai_modbus
                    ../component/geminai_debug
                    ../component/geminai_oss
                    ../component/geminai_wind_func
                    PRIV_INCLUDE_DIRS "${IDF_PATH}/components/esp_http_client/lib/include"
                    PRIV_INCLUDE_DIRS "${IDF_PATH}/components/usb/private_include")
                    
spiffs_create_partition_image(storage ../spiffs_image FLASH_IN_PROJECT)